package com.myfum.wingplayer.entity
{
	import flash.net.URLRequest;
	
	import mx.collections.ArrayCollection;

	public class ProjectData extends Data
	{
		public function ProjectData()
		{
			_retrieveURL = "assets/testdata/project.xml";
			_commitURL = "";
		}
		public var menuitem_id:int;
		public var name:String;
		public var audiofrom:String;
		public var screensize:String;
		public var id:int;
		public var scheduleId:int;
		public var screenratio:String;
		public var regions:ArrayCollection;
		
		public var startTime:Date;
		public var endTime:Date;
		
		public function sortRegions():void{
			if(regions){
				regions.source.sortOn("zindex");
				regions.refresh();
			}
		}
		
		public function retrieve(request:URLRequest):void{
			_retrieve(request);
		}
	}
}






